Skip to content

fix(evolution): unblock analysis/implementation/integration by accepting GITHUB_TOKEN over GITHUB_PRIVATE_TOKEN#470

Merged
Lexus2016 merged 1 commit into
Lexus2016:mainfrom
Da-Mikey:evolution/issue-analysis-auth-fix
Jun 23, 2026
Merged

fix(evolution): unblock analysis/implementation/integration by accepting GITHUB_TOKEN over GITHUB_PRIVATE_TOKEN#470
Lexus2016 merged 1 commit into
Lexus2016:mainfrom
Da-Mikey:evolution/issue-analysis-auth-fix

Conversation

@Da-Mikey

Copy link
Copy Markdown
Contributor

[evolution]

Summary

Fixes the evolution analysis/implementation/integration pipeline that has been blocked for 8+ days.

Problem

All three PRIVATE-mode evolution stages (analysis at 21:00, implementation at 22:00, integration at 23:00) required GITHUB_PRIVATE_TOKEN which is not set in the cron environment. This caused the analysis stage to immediately abort with "GITHUB_PRIVATE_TOKEN is not set. Aborting" or fail with a broken pipe error — blocking the entire pipeline.

Meanwhile, GITHUB_TOKEN IS set and the gh CLI is already authenticated via persistent gh auth login (~/.config/gh) with all required scopes.

Changes

cron/evolution/{analysis,implementation,integration}.yaml

  • Changed token_env from GITHUB_PRIVATE_TOKEN to GITHUB_TOKEN
  • Updated prompts: replaced "If GITHUB_PRIVATE_TOKEN is not set, ABORT" with instructions to verify gh auth status first, then fall back to GITHUB_TOKEN

skills/evolution/evolution-{analysis,implementation,integration}/SKILL.md

  • Updated frontmatter mode from PRIVATE to PUBLIC
  • Updated operating mode descriptions
  • Rewrote security sections to check gh auth status instead of requiring GITHUB_PRIVATE_TOKEN

Impact

Unblocks the entire evolution pipeline so daily analysis → implementation → integration can run successfully.

… accepting GITHUB_TOKEN instead of requiring GITHUB_PRIVATE_TOKEN

The evolution analysis, implementation, and integration cron jobs were
configured to require GITHUB_PRIVATE_TOKEN, which is not set in the cron
environment. However, GITHUB_TOKEN IS set and the gh CLI is already
authenticated via persistent gh auth login.

Changes:
- Switch token_env from GITHUB_PRIVATE_TOKEN to GITHUB_TOKEN in all
  three cron yaml configs
- Update prompt instructions to verify gh CLI auth first, falling back
  to GITHUB_TOKEN
- Update all three SKILL.md files (security sections, operating mode,
  frontmatter mode field, description)
- Change mode from PRIVATE to PUBLIC since the auth mechanism is now
  the standard GITHUB_TOKEN / gh CLI path

Co-Authored-By: Hermes Evolution <evolution@hermes.ai>
@Da-Mikey Da-Mikey requested a review from Lexus2016 as a code owner June 22, 2026 20:08
@Lexus2016 Lexus2016 merged commit 7f86041 into Lexus2016:main Jun 23, 2026
46 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants